package com.softtown.modules.sys.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 没有查看的消息
 *
 * @author Dingyayong
 * @version v1.0
 * @create 2019-07-10 20:01
 **/
@Data
public class SysMessageNoReadVO implements Serializable {

    /**
     * 主键
     * id
     * isNullAble:0
     */
    private Long id;

    /**
     * 类型（字典msg_type）
     * isNullAble:0
     */
    private Integer type;

    /**
     * 主题
     * isNullAble:0
     */
    private String title;

    /**
     * 内容
     * isNullAble:0
     */
    private String content;

    /**
     * 链接
     * isNullAble:1
     */
    private String linkUrl;

    /**
     * 发送者id
     * isNullAble:1
     */
    private Long senderId;

    /**
     * 发送时间
     * isNullAble:0
     */
    private Date sendDate;

    /**
     * 接收者id
     * isNullAble:0
     */
    private Long receiverId;

    /**
     * 公司相关id
     * isNullAble:0
     */
    private Long msgCompId;

    /**
     * 是否已读
     * isNullAble:1
     */
    private Integer isRead;

    /**
     * 创建者
     * isNullAble:1
     */
    private Long creator;

    /**
     * 创建时间
     * isNullAble:1
     */
    private Date createDate;

    /**
     * 更新者
     * isNullAble:1
     */
    private Long updater;

    /**
     * 更新时间
     * isNullAble:1
     */
    private Date updateDate;

    /**
     * 更新时间戳
     * isNullAble:1
     */
    private String updateTimestamp;

    /**
     * 逻辑删除
     * isNullAble:1,defaultVal:0
     */
    private Integer isDeleted;
}

